package me.keiwu.pub.data;

/**
 * Created by kei on 13/11/2017.
 */
public class GlobalConst {

    public static final String TOKEN_URL_NAME = "access_token";
    public static final String TOKEN_HEADER_NAME = "Authorization";

    public static final String REQUEST_HEADER_USER_ID = "USER_ID";
    public static final String REQUEST_HEADER_NICK_NAME = "USER_NICK_NAME";

    public static final String DEFAULT_FILTER_NAME = "DEFAULT_FILTER";



    public static final int EXPIRED_TWO_HOURS_SECONDS = 7200;  // 2小时
    public static final String ACCESS_TOKEN_PREFIX = "ACCESS_TOKEN_";
    public static final String SHARE_TOKEN_PREFIX = "SHARE_TOKEN_";
    public static final String LOGIN_USER_PREFIX = "LOGIN_USER_";
    public static final String WX_ACCESS_TOKEN_PREFIX = "WX_ACCESS_TOKEN_";
    public static final String USER_MISC_PREFIX = "USER_MISC_";
    public static final String WX_SESSION_PREFIX = "WX_SESSION_";

    public static final String CONFIG_PREFIX = "CONFIG_";






    public static final int DONATE_STEP_EXPIRED_SECONDS = 1296000;  // 15天
    public static final String TOTAL_DONATE_STEP_KEY = "TOTAL_DONATE_STEP_KEY";
    public static final String USER_DONATE_STEP_PREFIX = "USER_DONATE_STEP_PREFIX_";
    public static final String TOTAL_DONATE_USERS_KEY = "TOTAL_DONATE_USERS_KEY";



    public static final String EXPLORE_STEAL_USERS_PREFIX = "EXPLORE_STEAL_USERS_PREFIX_";
    public static final String EXPLORE_REFRESH_USERS_PREFIX = "EXPLORE_REFRESH_USERS_PREFIX_";

    public static final String RANK_LIST_KEY = "RANK_LIST_KEY";
    public static final String GROUP_RANK_KEY = "GROUP_RANK_KEY_";

    // 今天被挖之后，是否被通知过，如果是，就不再通知
    public static final String EXPLORE_STEAL_USERS_NOTICED_PREFIX = "EXPLORE_STEAL_USERS_NOTICED_PREFIX";

    // 昨天的比赛结果是否被通知过，如果是，就不再通知
    public static final String CHALLENGE_RESULT_USERS_NOTICED_PREFIX = "CHALLENGE_RESULT_USERS_NOTICED_PREFIX";
    // 昨天的比赛结果是否被通知过，如果是，就不再通知
    public static final String CHALLENGE_AWARD_USERS_PREFIX = "CHALLENGE_AWARD_USERS_PREFIX";
    // 今天的比赛邀请是否被通知过，如果是，就不再通知
    public static final String  CHALLENGE_INVITE_USER_NOTICED_PREFIX = "CHALLENGE_INVITE_USER_NOTICED_PREFIX";
}
